<?php
/**
 * Created by PhpStorm.
 * User: 86159
 * Date: 2021/1/25
 * Time: 14:04
 */

namespace App\Services;


use App\Models\Company;

class CompanyServices extends BaseServices
{
    //找寻推荐的职位
    public function getCompayById($id){
        return Company::query()->where('id',$id)->first(['companyname','thumb']);
    }
    //推荐企业
    public function getCompanyHot(){
        return Company::query()->where('isrecommand',1)->first(['companyname','thumb']);
    }




    
}